﻿using Abp.Application.Features;
using Abp.Localization;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Mt.Site.Core.Messages_.Features
{
    public class MessagesFeatureProvider : FeatureProvider
    {
        public override void SetFeatures(IFeatureDefinitionContext context)
        {
            var MessagesFeature = context.Create(
                                MessagesFeatures.MessagesFeature,
                                defaultValue: "true",
                                displayName: L("MessagesFeatures")
                            );
        }

        private static ILocalizableString L(string name)
        {
            return new LocalizableString(name, MtSiteConsts.LocalizationSourceName_Feature);
        }
    }
}
